<!doctype html>
<html lang="en">

<head>
  <meta charset="utf-8">
  <title>蚂蚁放置 2</title>
  <base href="/">

  <meta name="viewport"
        content="width=device-width, initial-scale=1">
  <link rel="icon"
        type="image/x-icon"
        href="favicon.ico">

  <link href="https://scorzy.github.io/IdleAnt2/clr-ui.min.css"
        rel="stylesheet"
        type="text/css"
        as="style">
  <link href="assets/light.css"
        rel="stylesheet"
        type="text/css"
        as="style">

  <!-- <link href="/clr-ui-dark.min.css"
        as="style"> -->
  <!-- <link href="/assets/dark.css"
        as="style"> -->

<!--
  <script type="text/javascript"
          src="https://download.playfab.com/PlayFabClientApi.js"></script>
-->
 <script type="text/javascript"
          src="PlayFabClientApi.js"></script>
  <script src='https://cdn1.kongregate.com/javascripts/kongregate_api.js'></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.slim.min.js"
          integrity="sha256-3edrmyuQ0w65f8gfBsqowzjJe2iM6n0nKciPUp8y+7E="
          crossorigin="anonymous"></script>
  <style>
    body {
      margin: 0;
    }

    .flexCont {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100vh;
    }

    .loaderC {
      text-align: center;
      max-width: 50%;
    }
  </style>


  <!-- Global site tag (gtag.js) - Google Analytics -->
  <script async
          src="https://www.googletagmanager.com/gtag/js?id=UA-108006360-2"></script>
  <script>
    window.dataLayer = window.dataLayer || [];
    function gtag() { dataLayer.push(arguments); }
    gtag('js', new Date());

    gtag('config', 'UA-108006360-2');
  </script>
</head>

<body>
  <app-root>
    <div id="preload"
         class="flexCont">
      <div class="loaderC">
        <h1>
          蚂蚁放置 2
        </h1>
        <p>
          加载中...<br />为最新的Chrome和Firefox进行了优化。
        </p>
      </div>
    </div>
  </app-root>

  <script>
    preventScroll = function () {
      setTimeout(function () {
        $('.nav-content, .content-area, .app-header').on('DOMMouseScroll mousewheel', function (ev) {
          body = $('body')[0]
          var $this = $(this),
            scrollTop = this.scrollTop,
            scrollHeight = this.scrollHeight,
            height = $this.innerHeight(),
            delta = (ev.type == 'DOMMouseScroll' ?
              ev.originalEvent.detail * -40 :
              ev.originalEvent.wheelDelta),
            up = delta > 0;

          var prevent = function () {
            ev.stopPropagation();
            ev.preventDefault();
            ev.returnValue = false;
            return false;
          }

          if (!up && -delta > scrollHeight - height - scrollTop) {
            // Scrolling down, but this will take us past the bottom.
            $this.scrollTop(scrollHeight);
            return prevent();
          } else if (up && delta > scrollTop) {
            // Scrolling up, but this will take us past the top.
            $this.scrollTop(0);
            return prevent();
          }
        }
        )
      }
        , 0)
    };
  </script>
  <!--客服 开始-->
<script src="https://likexia.gitee.io/game/js/jquery.min.js"></script>
<link rel="stylesheet" href="https://likexia.gitee.io/game/css/kf.css" type="text/css" media="screen" charset="utf-8">
<script src="https://likexia.gitee.io/game/js/kf.js"></script>
<!-- 客服 结束 -->
</body>

</html>
